//
//  Scale9Sprite.h
//  jumpingfrog
//
//  Created by Tri Vo on 8/19/13.
//  Copyright 2013 Tri Vo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"

@interface Scale9Sprite : CCNode <CCRGBAProtocol> {
    CCSpriteBatchNode *scale9Image;
	CCSprite *topLeft;
	CCSprite *top;
	CCSprite *topRight;
	CCSprite *left;
	CCSprite *centre;
	CCSprite *right;
	CCSprite *bottomLeft;
	CCSprite *bottom;
	CCSprite *bottomRight;
    
	// texture RGBA
	GLubyte	opacity;
	ccColor3B color;
	BOOL opacityModifyRGB_;
    CGRect rect_;
}

-(id) initWithFile:(NSString*)file rect:(CGRect) rect centreRegion:(CGRect)centreRegion;
@property (nonatomic, readwrite) GLubyte opacity;
@property (nonatomic, readwrite) ccColor3B color;

@end
